import $C from '@/common/config.js';
import graceJS from'@/Grace.JS/grace.js';
export default{
	post(url,data={},header={},success){
		graceJS.get(
					$C.webUrl + url,
					data,
					header,
					(res) => {success(res)}
				);
	},
	get(url,data={},header={},success){
		graceJS.get(
					$C.webUrl + url,
					data,
					header,
					(res) => {success(res)}
				);
	}
}